﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using BluSteamClient.Model;
using System.Diagnostics;
using BluSteamClient.Model.Utility;
using BluSteamClient.Model.CommandImplementation;

namespace BluSteamClient.ViewModel
{
    public class MainWindowViewModel : INotifyPropertyChanged
    {
        #region Fields

        public event PropertyChangedEventHandler PropertyChanged;

        #endregion

        #region Methods

        public static void Logout()
        {
            Command logoutCommand = new LogoutCommand();
            logoutCommand.Execute();
        }

        #endregion

        #region Event Handlers

        protected void OnPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        #endregion
    }
}